﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GN.Pay.MerchantWeb.Models
{
    /// <summary>
    /// 扫码支付模型
    /// </summary>
    public class QRCodePayModel
    {
        /// <summary>
        /// 申请号
        /// </summary>
        public string ApplyId { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime ApplyTime { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 订单时间
        /// </summary>
        public DateTime OrderTime { get; set; }

        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal PayMoney { get; set; }

        /// <summary>
        /// 商品标题
        /// </summary>
        public string Subject { get; set; }

        private string _Body;

        /// <summary>
        /// 商品详情
        /// </summary>
        public string Body
        {
            get
            {
                if (_Body == null)
                {
                    _Body = "";
                }
                return _Body;
            }
            set { _Body = value; }
        }

        /// <summary>
        /// 订单备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 交易号
        /// </summary>
        public string TradeNo { get; set; }

        /// <summary>
        /// 通道Id
        /// </summary>
        public string ChannelId { get; set; }

        /// <summary>
        /// 付款id
        /// </summary>
        public string PayId { get; set; }

        /// <summary>
        /// 二维码路径
        /// </summary>
        public string QrCodePath { get; set; }
    }
}